<? $page_title='终止订单流程' ?>
<? include "FASHION/page_header.phtml" ?>

<form method="post" id="form1" action="<? url('indft-dofrcterm') ?>">
<table border="0" class="list"><tbody>
	<tr class="nobg">
		<th>编号</th>
		<th>材料名称</th>
		<th>品牌</th>
		<th>规格</th>
		<th>单位</th>
		<th>数量</th>
		<th width="9%">入库数量</th>
		<th>备注</th>
		<th width="120">终止说明</th>
	</tr>
<{foreach item=ware from=$indent.items}>
	<tr>
		<td><{$ware.sno}></td>
		<td><{$ware.name}></td>
		<td><{$ware.brand}></td>
		<td><{$ware.specific}></td>
		<td><{$ware.unit}></td>
		<td><div class="decimal"><{$ware.amount}></div></td>
		<td><div class="decimal"><{$ware.amount_back}></div></td>
		<td><div class="text"><{$ware.remark}></div></td>
		<td style="padding:0;">
			<{if !$ware.off}>
			<input type="text" name="feedback[<{$ware.ware_id}>]" style="width:98%" class="text" />
			<{/if}>
		</td>
	</tr>
<{/foreach}>
</tbody></table>
<br/>
<div class="center">
	<INPUT TYPE="button" class="button" value="返回" onclick="g2('<? url("indft/id/{$indent['id']}") ?>')" /> &nbsp;
	<INPUT TYPE="submit" class="button" value="终止订单" />
</div>
<input type="hidden" name="id" value="<{$indent.id}>" />
</form>

<script>
ajax_form({
	id : 'form1',
	before : function(){
		return window.confirm("终止订单操作不可逆，是否确认？");
	}
});
</script>

<?include "FASHION/page_footer.phtml"?>
